package com.lwm.springcloud.dao;

import com.lwm.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author lwmzzz
 * @version 1.0
 * @date 2020/11/23 16:59
 * @description
 */
@Mapper
public interface PaymentDAO {
    int create(Payment payment);

    Payment getPaymentById(Payment payment);

    Payment getPaymentByIdNew(@Param("id") Long id);
}
